package com.itheima.vmmysql.Service.Impl;

import com.itheima.vmmysql.Mapper.CreateTableMapper;
import com.itheima.vmmysql.Service.CreateTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CreateTableServiceImpl implements CreateTableService {

    @Autowired
    private CreateTableMapper createTableMapper;

    @Override
    public void createTable(String sql) {
        createTableMapper.createTable(sql);
    }
}
